// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from '@/store'
import Vant from 'vant'
import 'vant/lib/index.css'
import './permission' // 权限控制
import tools from './utils/tools.js'
// import '@/styles/index.less'

// 启用vant
Vue.use(Vant)

Vue.prototype.$tools = tools

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>'
})
